<!-- 暂无权限弹窗 -->
<template>
  <c-popup title="暂无权限" v-model="showPopup">
    <view class="no-permission">
      <image src="@/assets/images/no-permission.png" />
      <text class="tips">升级服务可解锁更多信息</text>
      <c-button custom-class="w-full" block>立即升级VIP会员</c-button>
    </view>
  </c-popup>
</template>

<script lang="ts" setup>
  const showPopup = ref(false);

  const show = () => {
    showPopup.value = true;
  };
  defineExpose({
    show,
  });
</script>

<style lang="scss" scoped>
  .no-permission {
    display: flex;
    flex-direction: column;

    text-align: center;
    padding: 44rpx;
    image {
      width: 410rpx;
      height: 318rpx;
      margin: 0 auto;
    }
    .tips {
      color: $uni-color-subtitle;
      margin: 16rpx 0 74rpx;
    }
  }
</style>
